<?php
/**
 * User login form
 */
class Member_Form_UserLogin extends App_Form_FormAbstract
{
    /**
     * @see    Zend_Form::init()
     * @return void
     */
    public function init()
    {
        $this->setOptions(array(
            'method' => 'post',
            'elements' => array(
                'username' => array('text', array(
                    'label'    => 'Username',
                    'required' => true,
                    'filters'  => array('StringTrim')
                )),
                'password' => array('password', array(
                    'label'    => 'Password',
                    'required' => true,
                    'filters'  => array('StringTrim')
                )),
                'remember' => array('checkbox', array(
                    'label' => 'Remember me'
                )),
                'submit' => array('submit', array(
                    'label' => 'Login'
                ))
            )
        ));
    }
}
